﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ImModels.View
{
    /// <summary>
    /// Jwt信息 包含用户在Im的Kid、企业ID、业务用户ID、企业密钥
    /// </summary>
    public class JwtUserInfo
    {
        /// <summary>
        /// 企业内部业务ID
        /// </summary>
        public string EnterpriseId { get; set; } = "";

        /// <summary>
        /// 业务用户ID
        /// </summary>
        public string BizUserID { get; set; } = "";

        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { get; set; } = "";

        /// <summary>
        /// 对应User表KID 也对应 websocket的id
        /// </summary>
        public string UserKid { get; set; } = "";

        /// <summary>
        /// 企业的秘钥
        /// </summary>
        public string EnterSecret { get; set; } = "";
    }
}
